package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车位费对象 cw_parking
 * 
 * @author ruoyi
 * @date 2022-11-29
 */
public class CwParking extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 ID */
    private Long pid;

    /** 业主ID */
    @Excel(name = "业主ID")
    private Long ownerid;

    /** 购买时间 */
    @Excel(name = "购买时间")
    private Long salestime;

    /** 到期时间 */
    @Excel(name = "到期时间")
    private Long duetime;

    /** 总费用 */
    @Excel(name = "总费用")
    private BigDecimal cost;

    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setOwnerid(Long ownerid) 
    {
        this.ownerid = ownerid;
    }

    public Long getOwnerid() 
    {
        return ownerid;
    }
    public Long setSalestime(Long salestime)
    {
        this.salestime = salestime;
        return salestime;
    }

    public Long getSalestime() 
    {
        return salestime;
    }
    public Long setDuetime(Long duetime)
    {
        this.duetime = duetime;
        return duetime;
    }

    public Long getDuetime() 
    {
        return duetime;
    }
    public void setCost(BigDecimal cost) 
    {
        this.cost = cost;
    }

    public BigDecimal getCost() 
    {
        return cost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pid", getPid())
            .append("ownerid", getOwnerid())
            .append("salestime", getSalestime())
            .append("duetime", getDuetime())
            .append("cost", getCost())
            .toString();
    }
}
